QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    form1_1.cpp \
    form2_1.cpp \
    form2_2.cpp \
    form2_2_1.cpp \
    form2_3.cpp \
    form2_4.cpp \
    form2_4_1.cpp \
    form2_4_2.cpp \
    form2_5.cpp \
    form3_1.cpp \
    form3_2.cpp \
    form4_1.cpp \
    form4_2.cpp \
    main.cpp \
    project.cpp \
    widget.cpp \
    widget1.cpp \
    widget2.cpp \
    widget3.cpp \
    widget4.cpp \
    widget5.cpp \
    widget6.cpp

HEADERS += \
    form1_1.h \
    form2_1.h \
    form2_2.h \
    form2_2_1.h \
    form2_3.h \
    form2_4.h \
    form2_4_1.h \
    form2_4_2.h \
    form2_5.h \
    form3_1.h \
    form3_2.h \
    form4_1.h \
    form4_2.h \
    project.h \
    widget.h \
    widget1.h \
    widget2.h \
    widget3.h \
    widget4.h \
    widget5.h \
    widget6.h

FORMS += \
    form1_1.ui \
    form2_1.ui \
    form2_2.ui \
    form2_2_1.ui \
    form2_3.ui \
    form2_4.ui \
    form2_4_1.ui \
    form2_4_2.ui \
    form2_5.ui \
    form3_1.ui \
    form3_2.ui \
    form4_1.ui \
    form4_2.ui \
    widget.ui \
    widget1.ui \
    widget2.ui \
    widget3.ui \
    widget4.ui \
    widget5.ui \
    widget6.ui

TRANSLATIONS += \
    ui_zh_CN.ts
CONFIG += lrelease
CONFIG += embed_translations

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
